Fix #156 by allowing multiple replacements
authorJustin Burkett <justin@burkett.cc>
Thu, 15 Dec 2016 14:42:08 +0000 (09:42 -0500)
committerJustin Burkett <justin@burkett.cc>
Thu, 15 Dec 2016 14:53:20 +0000 (09:53 -0500)
commit3cd9457f96f694fac3279416ccd366517d69cadd
treeaa3d7f10856281a3e80564d8901c8d0c63dfef31
parentf0eb183af6ce87344af40813a20fbe81bf98c80a
Fix #156 by allowing multiple replacements

Add which-key-allow-multiple-replacements which can be set to allow multiple
replacements from which-key-replacement-alist to apply to a key binding.

Switch from using assoc-default to find replacements to
which-key--get-replacements.

Adjusts tests and add a new one for multiple replacements.
which-key-tests.el
which-key.el